package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the CC_SURGERY database table.
 * 
 */
@Entity
@Table(name="CC_SURGERY")
@NamedQuery(name="CcSurgery.findAll", query="SELECT c FROM CcSurgery c")
public class CcSurgery implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_SURGERY_SURGERYID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_SURGERY_SURGERYID_GENERATOR")
	private long surgeryid;

	private String saddress;

	private BigDecimal ssgenreid;

	private BigDecimal suoffresid;

	public CcSurgery() {
	}

	public long getSurgeryid() {
		return this.surgeryid;
	}

	public void setSurgeryid(long surgeryid) {
		this.surgeryid = surgeryid;
	}

	public String getSaddress() {
		return this.saddress;
	}

	public void setSaddress(String saddress) {
		this.saddress = saddress;
	}

	public BigDecimal getSsgenreid() {
		return this.ssgenreid;
	}

	public void setSsgenreid(BigDecimal ssgenreid) {
		this.ssgenreid = ssgenreid;
	}

	public BigDecimal getSuoffresid() {
		return this.suoffresid;
	}

	public void setSuoffresid(BigDecimal suoffresid) {
		this.suoffresid = suoffresid;
	}

}